#-*-coding:utf-8-*-
import random
'''
This module is used to test the FinalCompress!
@Author liuhucheng
@Time 14/05/2012 10:06
'''
class FinalTest:
    '''
    test FinalCompress
    '''
    def __init__(self):
        self.pos = 0
        pass

    def CreateMatrixData(self):
        '''
        Create Data
        '''
        ntotal = 254
        content = [0 for col in range(256)]
        for i in range(ntotal):
            c = random.random(0,255)
            if content[c] == 0:
                content[c] = [i]
            else:
                content[c].append(i)
        return True

